package com.gmall.product.feign.impl;

import com.gmall.common.result.Result;
import com.gmall.model.product.BaseTrademark;
import com.gmall.model.product.SkuInfo;
import com.gmall.model.product.dto.Category123IdNameDTO;
import com.gmall.product.feign.ProductApiFeignClient;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ProductApiFeignClientFallback implements ProductApiFeignClient {
    @Override
    public List<SkuInfo> getSkuInfoListAfterDateTime(Map searchMap) {
        System.out.println("进入熔断器===getSkuInfoListAfterDateTime");
        return null;
    }

    @Override
    public Result<SkuInfo> getSkuInfoById(Long skuId) {
        System.out.println("进入熔断器===getSkuInfoById");
        return null;
    }

    @Override
    public Result<BaseTrademark> getTrademarkById(Long id) {
        System.out.println("进入熔断器===getTrademarkById");
        return null;
    }

    @Override
    public Result<Category123IdNameDTO> getCategory123IdNameDTO(Long category3Id) {
        System.out.println("进入熔断器===getCategory123IdNameDTO");
        return null;
    }
}
